package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
public class EditBoxPoolRequest extends IdRequest{

    @ApiModelProperty("虚拟道具Id")
    @NotNull(message = "虚拟道具id不能为空")
    private Long propsId;


    @ApiModelProperty("消耗数量")
    @NotNull(message = "消耗数量不能为空")
    @Range(min = 1, max = 10000, message = "消耗数量范围为1-10000")
    private Integer costQuantity;

}
